package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/** 
 * @Description  
 * @version 1.0 
 * @author lcx
 * @date 2025/2/9 11:25
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Component
@TableName(value = "seats")
public class Seats {
    @TableId(value = "seat_id", type = IdType.INPUT)
    private Integer seatId;

    @TableField(value = "hall_id")
    private Integer hallId;

    @TableField(value = "`row_number`")
    private Integer rowNumber;

    @TableField(value = "seat_number")
    private Integer seatNumber;

    @TableField(value = "seat_type")
    private String seatType;

    @TableField(value = "is_reserved")
    private Boolean isReserved;

    @TableField(value = "x")
    private int x;
    @TableField(value = "y")
    private int y;
    @TableField(value = "w")
    private int w;
    @TableField(value = "h")
    private int h;
    @TableField(value = "status")
    private int status;
    @TableField(value = "i")
    private String i;
    @TableField(value = "seat_price")
    private int seatPrice;
}